
#ifndef __HTTP_CMD_GETDATETIME_H
#define __HTTP_CMD_GETDATETIME_H

#include "HttpCmdBase.h"

class CHttpCmdGetDateTime : public CHttpCmdBase
{
public:
    CHttpCmdGetDateTime();
    ~CHttpCmdGetDateTime();

    //GetInstance();    // unsafe for mutli thread

private:
    bool CheckParamVaild(const std::string &strReqMessage);

    void ClearCmdLocalData();

    bool FillRspData(std::string &strRspData);

    bool ParseParamDataToSave(const std::string &strReqMessage);

    // Data
    std::string m_strTimeFormat;
    std::string m_strDateFormat;
    std::string m_strArgs;
};

#endif